package cn.th.service;

import cn.th.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 管理员表 服务类
 * </p>
 *
 * @author cn.th
 * @since 2024-03-30
 */
public interface IAdminService extends IService<Admin> {

    Map<String, Object> login(Admin admin1);

    Map<String, Object> getUserInfo(String token);

    void logout(String token);

    Map<String, Object> queryAd(int page, int pageSize, String name, String username, String school);

    void removeBatchByIds(String ids);
}
